package com.tensquare.qa.pojo;
/*
 *ClassName:Pl
 *Description:问题表和回答表的中间实体类，如果使用PLSQL基于对象需要用到该类
 *@author:可爱的大鸭子
 */

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

@Entity
@Table(name="tb_pl")
public class Pl implements Serializable{
    @Id
    private String problemid;   //问题id
    @Id
    private String labelid;     //标签id，对应多个问题id

    public String getProblemid() {
        return problemid;
    }

    public void setProblemid(String problemid) {
        this.problemid = problemid;
    }

    public String getLabelid() {
        return labelid;
    }

    public void setLabelid(String labelid) {
        this.labelid = labelid;
    }
}
